package com.li.shop.service.Impl;

import com.li.shop.domain.ProductPic;
import com.li.shop.mapper.ProductPicMapper;
import com.li.shop.service.ProductPicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductPicServiceImpl implements ProductPicService {
    @Autowired
    private ProductPicMapper productPicMapper;
    @Override
    public ProductPic find(String id) {
        return productPicMapper.selectByPId(id);
    }
}
